package com.itheima.thread04;

public class Demo {
    public static void main(String[] args) {
        //创建Thread线程对象
        MyThread th1 = new MyThread("小花");
        MyThread th2 = new MyThread("小明");
        //th1.setName("大舅");
        //th2.setName("二舅");
        //开始线程
        th1.start();
        th2.start();

    }
}
